﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using UniCT.LinkShareWpf.Model;

namespace UniCT.LinkShareWpf.Interface
{
    //Gestore della connessione e delle funzionalità per la rete
    public interface IConnectionHandler
    {
        void AddNode(Node node, bool Priority);
        void RemoveNode(Node node);
        ObservableCollection<Node> GetNodes();
        long Ping(Node node);
        void StartServer();
        void StopServer();
        void SearchResources(NetFilter netFilter);
    }
}
